<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>BaseTestChannel (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">labs.net.webChannel.BaseTestChannel</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    A TestChannel is used during the first part of channel negotiation
with the server to create the channel. It helps us determine whether we're
behind a buffering proxy.


  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/labs/net/webchannel/basetestchannel.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.labs.net.webChannel.BaseTestChannel</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.labs.net.webChannel.BaseTestChannel(<span><span class="arg">channel</span>,&nbsp;<span class="arg">channelDebug</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">channel</span>
        : <span>!</span><span class="type"><a href="interface_goog_labs_net_webChannel_Channel.html">goog.labs.net.webChannel.Channel</a></span>
        <div class="entryOverview">The channel
    that owns this test channel.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">channelDebug</span>
        : <span>!</span><span class="type"><a href="class_goog_labs_net_webChannel_WebChannelDebug.html">goog.labs.net.webChannel.WebChannelDebug</a></span>
        <div class="entryOverview">A
    WebChannelDebug instance to use for logging.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_labs_net_webChannel_BaseTestChannel.html">
              goog.labs.net.webChannel.BaseTestChannel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.abort"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">abort<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Aborts the test channel.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line279">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.checkBufferingProxy_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">checkBufferingProxy_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Begins the second stage of the test channel where we test to see if we're
behind a buffering proxy. The server sends back a multi-chunked response
with the first chunk containing the content '1' and then two seconds later
sending the second chunk containing the content '2'. Depending on how we
receive the content, we can tell if we're behind a buffering proxy.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line231">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.checkForEarlyNonBuffered_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">checkForEarlyNonBuffered_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            True if test stage 2 detected a non-buffered
    channel early and early no buffering detection is enabled.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line451">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.connect"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">connect<span class="args">(<span class="arg">path</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Starts the test channel. This initiates connections to the server.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">path</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The relative uri for the test connection.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line197">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.createXhrIo"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">createXhrIo<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line271">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.getLastStatusCode"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getLastStatusCode<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Returns the last status code received for a request.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The last status code received for a request.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line423">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.isActive"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isActive<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line441">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.isClosed"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isClosed<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether the test channel is closed. The ChannelRequest object expects
this method to be implemented on its handler.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the channel is closed.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line295">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.onRequestComplete"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onRequestComplete<span class="args">(<span class="arg">req</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from ChannelRequest that indicates a request has completed.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">req</span>
        : <span class="type">ChannelRequest</span>
        <div class="entryOverview">The request object.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line364">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.onRequestData"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onRequestData<span class="args">(<span class="arg">req</span>,&nbsp;<span class="arg">responseText</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from ChannelRequest for when new data is received


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">req</span>
        : <span class="type">ChannelRequest</span>
        <div class="entryOverview">The request object.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">responseText</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The text of the response.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line307">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.setExtraHeaders"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setExtraHeaders<span class="args">(<span class="arg">extraHeaders</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets extra HTTP headers to add to all the requests sent to the server.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">extraHeaders</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>
        <div class="entryOverview">The HTTP headers.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line187">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.shouldUseSecondaryDomains"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">shouldUseSecondaryDomains<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether we should be using secondary domains when the
    server instructs us to do so.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line433">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_labs_net_webChannel_BaseTestChannel.html">
              goog.labs.net.webChannel.BaseTestChannel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.channelDebug_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">channelDebug_</span>
        : <span class="type"><a href="class_goog_labs_net_webChannel_WebChannelDebug.html">goog.labs.net.webChannel.WebChannelDebug</a></span>
     </div>


     <div class="entryOverview">
       The channel debug to use for logging

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line54">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.channel_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">channel_</span>
        : <span class="type"><a href="interface_goog_labs_net_webChannel_Channel.html">goog.labs.net.webChannel.Channel</a></span>
     </div>


     <div class="entryOverview">
       The channel that owns this test channel

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line48">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.correctHostPrefix"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">correctHostPrefix</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line478">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.createDataUri"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">createDataUri</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line484">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.extraHeaders_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">extraHeaders_</span>
        : 
     </div>


     <div class="entryOverview">
       Extra HTTP headers to add to all the requests sent to the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line71">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.firstTime_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">firstTime_</span>
        : 
     </div>


     <div class="entryOverview">
       The time for of the first result part. We use timing in IE as a
heuristic for whether we're behind a buffering proxy.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line106">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.getBackChannelUri"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">getBackChannelUri</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line472">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.getConnectionState"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">getConnectionState</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line502">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.getForwardChannelUri"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">getForwardChannelUri</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line466">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.hostPrefix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">hostPrefix_</span>
        : 
     </div>


     <div class="entryOverview">
       A subdomain prefix for using a subdomain in IE for the backchannel
requests.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line149">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.lastStatusCode_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastStatusCode_</span>
        : 
     </div>


     <div class="entryOverview">
       The last status code received.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line140">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.lastTime_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastTime_</span>
        : 
     </div>


     <div class="entryOverview">
       The time for of the last result part. We use timing in IE as a
heuristic for whether we're behind a buffering proxy.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line115">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.path_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">path_</span>
        : 
     </div>


     <div class="entryOverview">
       The relative path for test requests.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line123">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.receivedIntermediateResult_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">receivedIntermediateResult_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether we have received the first result as an intermediate result. This
helps us determine whether we're behind a buffering proxy.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line88">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.request_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">request_</span>
        : <span class="type"><a href="class_goog_labs_net_webChannel_ChannelRequest.html">goog.labs.net.webChannel.ChannelRequest</a></span>
     </div>


     <div class="entryOverview">
       The test request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line79">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.startTime_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">startTime_</span>
        : 
     </div>


     <div class="entryOverview">
       The time when the test request was started. We use timing in IE as
a heuristic for whether we're behind a buffering proxy.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line97">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.state_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">state_</span>
        : 
     </div>


     <div class="entryOverview">
       The state of the state machine for this object.


     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line132">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.testConnectionFailure"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">testConnectionFailure</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line496">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.prototype.testConnectionFinished"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">testConnectionFinished</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line490">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>










<div class="section">
  <table class="horiz-rule">


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.MIN_TIME_EXPECTED_BETWEEN_DATA_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.labs.net.webChannel.BaseTestChannel.</span><span class="entryName">MIN_TIME_EXPECTED_BETWEEN_DATA_</span>
        : 
     </div>


     <div class="entryOverview">
       Time between chunks in the test connection that indicates that we
are not behind a buffering proxy. This value should be less than or
equals to the time between chunks sent from the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line179">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Enumerations</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.labs.net.webChannel.BaseTestChannel.State_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.labs.net.webChannel.BaseTestChannel.</span><span class="entryName">State_</span>
        : 
     </div>


     <div class="entryOverview">
       Enum type for the test channel state machine

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  CONNECTION_TESTING
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  INIT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_labs_net_webchannel_basetestchannel.js.source.html#line157">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package labs.net.webChannel</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="labs.net.webChannel.BaseTestChannel"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
